//@import '@common/styles/index.scss';
@import './iconfont';

.fixed-top {
  position: fixed;
  //top: -88rpx;
  line-height: 88rpx;
  border-bottom: solid 1rpx #F1F1F1;
  padding: 0 30rpx;
  box-sizing: border-box;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
  z-index: 999;

  &.isFixed {
    top: 0;
  }

  .btn {
    width: 100%;
    position: relative;
    border: 0 !important;
    border-radius: 6rpx;
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
    float: right;
    width: 100rpx;
    height: 60rpx;
    line-height: 60rpx;
    font-size: 24rpx;
    margin: 14rpx 0;
    text-align: center;
  }

  .btn-primary {
    background: #5677fc !important;
    color: #fff;
  }

  .btn-primary:hover {
    opacity: 0.8;
  }
}

.fixed-top,
.fixed-top__place {
  width: 100%;
  height: 88rpx;
}

.flex {
  display: flex;
}

.editor-container {}

.cu-editor {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  font-size: 28rpx;
  line-height: 1.5;
  overflow: auto;
  padding: 40rpx 35rpx;
  min-height: unset !important;
}

.editor-img {
  max-width: 98% !important;
}

.ql-active {
  background-color: #eaeaea;

  .color-circle {
    border: solid 1px;
  }
}

.noBgColor {
  background-color: none !important;
}

.fixed-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  right: 100%;
  bottom: 0;
  z-index: 99999;
}

.toolbar {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1rpx solid #e5e5e5;
  border-left: none;
  border-right: none;
  background: #fff;

  .iconfont {
    display: inline-block;
    cursor: pointer;
    font-size: 40rpx;
    text-align: center;
    position: relative;

    &.active::after {
      content: '';
      left: 0;
      bottom: 0;
      width: 100%;
      position: absolute;
      height: 6rpx;
      border-bottom: solid 6rpx #000000;
    }
  }

  .toolbar-item {
    height: 100rpx;
    line-height: 100rpx;
    flex: 1;
    text-align: center;

    &:active {
      opacity: 0.4;
    }
  }

  .toolbar-item-header,
  .toolbar-item-footer {
    width: 108rpx;
    text-align: center;
  }

  .toolbar-item-header {
    border-right: solid 1rpx red;
  }

  .toolbar-item-footer {
    border-left: solid 1rpx red;
    //border-left: solid 1rpx $uni-border-color;
    color: #5b8ff9;
    font-weight: bold;
  }
}

.toolbar-content {
  background-color: #ffffff;
}

.swiper-item {
  box-sizing: border-box;
  padding: 0 30rpx;
}

.tool-items {
  background-color:  #f7f7f7;
  color: #323232;
  height: 80rpx;
  line-height: 80rpx;
  margin: 32rpx 0;
  border-radius: 16rpx;
  overflow: hidden;

  .tool-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    &:active {
      background-color: #eaeaea;
    }

  }

  .iconfont {
    display: inline-block;
    width: 80rpx;
    height: 80rpx;
    line-height: 80rpx;
    cursor: pointer;
    font-size: 40rpx;
    text-align: center;
  }

  .color-circle {
    width: 40rpx;
    height: 40rpx;
    border-radius: 50%;
  }

  .txt {
    font-size: 14px;
  }
}

.feature {
  margin: 30rpx;
  text-align: center;

  .icon {
    background-color:  #f7f7f7;
    width: 120rpx;
    height: 120rpx;
    line-height: 120rpx;
    color: #323232;
    margin-bottom: 10rpx;

    &:active {
      background-color: #eaeaea;
    }

    .iconfont {
      font-size: 42rpx;
    }
  }
}
